package com.wuxiaoqin.server.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wuxiaoqin.server.entity.Address;

import com.wuxiaoqin.server.entity.Ordergood;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderList {
    @ApiModelProperty(value = "订单编号")
    private Integer orderno;

    @ApiModelProperty(value = "用户id")
    private Integer uId;

    @ApiModelProperty(value = "邮费")
    private Integer postage=0;

    @ApiModelProperty(value = "0表示未支付的状态，支付完后要改值1")
    private Integer status;

    @ApiModelProperty(value = "订单支付状态已支付、未支付")

    private String statusdesc;

    @ApiModelProperty(value = "付款时间")
    private String paymenttime;

    @ApiModelProperty(value = "订单创建时间")
    private String createtime;

    @ApiModelProperty(value = "原价格")
    private BigDecimal orgprice;

    @ApiModelProperty(value = "积分抵扣")
    private Integer integral;

    @ApiModelProperty(value = "交易价格")
    private BigDecimal payment;

    @ApiModelProperty(value = "地址编号")
    private Integer addId;

    @ApiModelProperty(value = "图片")
    private String imgage;

    @ApiModelProperty(value = "商品项")
    private List<Ordergood> orderItemList;

    @ApiModelProperty(value = "地址参数")
    private Address address;
}

